package com.zero.lite.dao.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zero
 * @since 2018-05-04
 */
@TableName("lite_region_province")
public class RegionProvince extends Model<RegionProvince> {

    private static final long serialVersionUID = 1L;

	private Integer code;
	private String name;


	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	protected Serializable pkVal() {
		return this.code;
	}

	@Override
	public String toString() {
		return "RegionProvince{" +
			"code=" + code +
			", name=" + name +
			"}";
	}
}
